package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_gourd_child_energy",autoSave = true,uploadCk = true,desc = "黑风寨-葫芦灵山体力变更日志")
public class LogGourdChildEnergy extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "用户ID",isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动ID",isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "类型，1关卡挑战，2关卡扫荡，3道具恢复，4自然恢复，5快速挑战")
    private int type;
    @FieldTypeAnnotation(desc = "变化数量")
    private int changeCount;
    @FieldTypeAnnotation(desc = "变化后最新数量")
    private int newCount;


    public LogGourdChildEnergy(long userId, int activityId, int type, int changeCount, int newCount) {
        this.userId = userId;
        this.activityId = activityId;
        this.type = type;
        this.changeCount = changeCount;
        this.newCount = newCount;

    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getChangeCount() {
        return changeCount;
    }

    public void setChangeCount(int changeCount) {
        this.changeCount = changeCount;
    }

    public int getNewCount() {
        return newCount;
    }

    public void setNewCount(int newCount) {
        this.newCount = newCount;
    }

}
